package com.zsj.graph;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author zsj
 * @version 1.0
 * @date 2024/6/2 15:10
 * @description 有向边
 */

@Data
@AllArgsConstructor
public class Edge {
    public int weight;//权值
    public Node from;//从哪来
    public Node to;//去哪
}
